﻿using IterationLife.Educations.Queries;
using IterationLife.Extensions.ControllerBase;
using IterationLife.PlatformBackEnd.AppServices.Contracts.Educations;
using IterationLife.PlatformBackEnd.AppServices.Dtos.Educations;

namespace IterationLife.PlatformBackEnd.WebSite.Areas.Educations.Controllers {
    /// <summary>
    /// 课程大纲控制器
    /// </summary>
    public class SyllabusController : TreeGridControllerBase<SyllabusDto, SyllabusQuery> {
        /// <summary>
        /// 初始化课程大纲控制器
        /// </summary>
        /// <param name="service">课程大纲服务</param>
        public SyllabusController( ISyllabusService service ) 
            : base( service ) {
            SyllabusService = service;
        }

        /// <summary>
        /// 课程大纲服务
        /// </summary>
        public ISyllabusService SyllabusService { get; private set; }
    }
}